cargBags.ItemKeys["id"] = function(i)
	return i.link and tonumber(i.link:match("item:(%d+)"))
end

cargBags.ItemKeys["bagType"] = function(i)
	return cargBags.Bags[i.bagID].bagType
end

cargBags.ItemKeys["string"] = function(i)
	return i.link and i.link:match("item:(%d+:%d+:%d+:%d+)")
end